package com.maltys.entity;

import lombok.Data;

/**
 * @author malty
 */
@Data
public class Goods {
    /**
     * 商品的唯一标识
     */
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 子标题
     */
    private String subtitle;

    /**
     * 分类
     */
    private String category;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 价格
     */
    private Double price;

    /**
     * 图片地址
     */
    private String images;

    public Goods(long l, String title, String subtitle, String category, String brand, double price, String images) {
        this.id = l;
        this.title = title;
        this.subtitle = subtitle;
        this.category = category;
        this.brand = brand;
        this.price = price;
        this.images = images;
    }
}
